package com.example.enjoylearning

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.enjoylearning.databinding.ActivityMainBinding

class MainActivity : AppCompatActivity() {

    lateinit var binding: ActivityMainBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityMainBinding.inflate(layoutInflater)
        setContentView(binding.root)
        binding.button.setOnClickListener {
            //注册
        }
        binding.button2.setOnClickListener {
            //登录
            binding.editTextTextPersonName//用户名
            binding.editTextTextPersonName2//密码
        }
    }
}